package com.sm.dao;

import com.sm.model.Withdrawal;

import java.util.List;

public interface WithdrawalMapper {
    int deleteByPrimaryKey(Integer withdrawalId);

    int insert(Withdrawal record);

    int insertSelective(Withdrawal record);

    Withdrawal selectByPrimaryKey(Integer withdrawalId);

    int updateByPrimaryKeySelective(Withdrawal record);

    int updateByPrimaryKey(Withdrawal record);
    
    List<Withdrawal> selectByUserId(Integer userId);
}